require './pond'
Dir['*.rb'].each do | rb |
  require "./#{rb}" unless rb == "run.rb"
end

#duck_pond = DuckPond.new(2,2)
#duck_pond.simulate_one_day

#frog_pond = FrogPond.new(2,2)
#frog_pond.simulate_one_day

#pond = Habitat.new(2, 2, PondOrganismFactory.new)
#pond.simulate_one_day
#
#jungle = Habitat.new(2, 2, JungleOrganismFactory.new)
#jungle.simulate_one_day

#pond_organism = OrganismFactory.new(Frog, WaterLily)
#jungle_organism = OrganismFactory.new(Tiger, Tree)
#jungle_organism_factory = Habitat.new(2, 2, jungle_organism)
#pond_organism_factory = Habitat.new(2, 2, pond_organism)
#
#jungle_organism_factory.simulate_one_day
#pond_organism_factory.simulate_one_day

io_factory = IOFactory.new("HTML")
html_reader = io_factory.new_reader
html_writer = io_factory.new_writer
puts "HTMLReader:#{html_reader} \nHTMLWriter:#{html_writer}"